package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "report")
public class Report implements Serializable {
    private ObjectId id; //报告编号

    private Long userId; //用户编号

    private ObjectId qId ;//问卷编号

    private Integer score; //所得分数

    private String cover;//报告封面

    private Long updated ;//修改时间

    private String conclusion;//鉴定结果

    private Map<String,String> dimension;//维度，用于设置四边图，key{外向、判断、抽象、理性}，value{90%，80%，70%，60%}

}
